projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081da00
)
admin: Silence a gcc warning
author
Colin Walters
<walters@verbum.org>
Thu, 12 Sep 2013 18:34:38 +0000
(14:34 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 12 Sep 2013 18:34:38 +0000
(14:34 -0400)
It can't happen, but anyways.
src/ostree/ot-admin-functions.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-admin-functions.c
b/src/ostree/ot-admin-functions.c
index a3f39022210ad00937bd6f2edcb78e19c06c8988..92a181c53263c4c7b7bbb366679fc5521200ce5c 100644
(file)
--- a/
src/ostree/ot-admin-functions.c
+++ b/
src/ostree/ot-admin-functions.c
@@
-748,7
+748,7
@@
ot_admin_list_deployments (GFile *sysroot,
gs_unref_ptrarray GPtrArray *boot_loader_configs = NULL;
gs_unref_ptrarray GPtrArray *ret_deployments = NULL;
guint i;
- int bootversion;
+ int bootversion
= -1
;
if (!read_current_bootversion (sysroot, &bootversion, cancellable, error))
goto out;